package com.example.permissionservice.service;

import com.example.common.dto.ApiResponse;

public interface PermissionService {
    ApiResponse<Void> bindDefaultRole(Long userId);
    ApiResponse<String> getUserRoleCode(Long userId);
    ApiResponse<Void> upgradeToAdmin(Long userId);
    ApiResponse<Void> downgradeToUser(Long userId);
}